﻿using System;

namespace SpecFlowTfsLinker.Cleaner
{
    [Serializable]
    public abstract class Cleaner : ICleaner
    {
        protected string StatementToClean;

        protected Cleaner(string statementToClean)
        {
            StatementToClean = statementToClean;
        }

        protected string DeleteExternalWhiteSpace()
        {
            return StatementToClean.Trim();
        }

        public abstract string Clean();
    }
}
